<?php

namespace app\common\library;

class Code
{
    public const SUCCESS = 200;
    public const SYSTEM_ERROR = 500;    //系统错误
    public const FAILED = 10001;// 操作失败
    public const VALIDATE_FAILED = 10002; // 验证错误
    public const PERMISSION_FORBIDDEN = 10003; // 权限禁止
    public const LOGIN_FAILED = 10004; // 登录失败
    public const LOST_LOGIN = 10005; // 登录失效
    public const LOGIN_EXPIRED = 10006; // 登录失效
    public const LOGIN_BLACKLIST = 10007; // 黑名单
    public const USER_FORBIDDEN = 10008; // 账户被禁

    public const QUEUE_FAILED = 11001;  //队列失败


}